{% load static %}
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->

<head>

	<!-- Your Basic Site Informations -->
	<title>就业分析页</title>
	<meta http-equiv="content-type" content="text/html;charset=utf-8" />
    <meta name="description" content="Enews is a news or magazine site template that built with very cool responsive template with clean design, fast load, seo friendly, beauty color and a slew of features." />
    <meta name="keywords" content="Site Template, News, Magazine, Portofolio, HTML, CSS, jQuery, Newsletter, PHP Contact, Subscription, Responsive, Marketing, Clean, SEO" />
    <meta name="author" content="Dots Theme" />
    
    <!-- Mobile Specific Meta -->
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    
    <!-- Stylesheets -->
    <link rel="stylesheet" href="/static/css/bootstrap.min.css">
    <link rel="stylesheet" href="/static/css/bootstrap-responsive.min.css">
    <link rel="stylesheet" href="/static/css/flexslider.css">
    <link rel="stylesheet" href="/static/css/prettyPhoto.css">
    <link rel="stylesheet" href="/static/css/style.css">
    <link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Bitter' rel='stylesheet' type='text/css'>
    <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
    
    <noscript><link rel="stylesheet" href="/static/css/no-js.css"></noscript> <!-- If JavaScript Disabled -->
    
    <!--[if lt IE 9]>
		<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
    
    <!-- Favicons -->
	<link rel="shortcut icon" href="/static/images/favicon.ico">
	<link rel="apple-touch-icon" href="/static/images/apple-touch-icon.png">
	<link rel="apple-touch-icon" sizes="72x72" href="/static/images/apple-touch-icon-72x72.png">
	<link rel="apple-touch-icon" sizes="114x114" href="/static/images/apple-touch-icon-114x114.png">
    
    <!-- JavaScript -->
    <script type="text/javascript" src="/static/js/jquery-1.8.3.min.js"></script>
    <script type='text/javascript' src='/static/js/bootstrap.min.js'></script>
    <script type='text/javascript' src='/static/js/jquery.easing.js'></script>
    <script type='text/javascript' src='/static/js/jquery.flexslider-min.js'></script>
    <script type='text/javascript' src='/static/js/jflickrfeed.min.js'></script>
    <script type='text/javascript' src='/static/js/jquery.fitvids.min.js'></script>
    <script type='text/javascript' src='/static/js/jquery.lazyload.mini.js'></script>
    <script type='text/javascript' src='/static/js/jquery.prettyPhoto.js'></script>
    <script type='text/javascript' src='/static/js/jquery.placeholder.min.js'></script>
    <script type='text/javascript' src='/static/js/jquery.jticker.js'></script>
    <script type='text/javascript' src='/static/js/jquery.mobilemenu.js'></script>
    <script type='text/javascript' src='/static/js/jquery.hoverdir.js'></script>
    <script type='text/javascript' src='/static/js/jquery.isotope.min.js'></script>
    <script type='text/javascript' src='/static/js/modernizr.custom.js'></script>
    <script type="text/javascript" src="/static/js/main.js"></script>
    <script>
        function detail(pageDetail) {
				//传递目标页页码
		$("#hidDetail").val(pageDetail);
		$("#frmAnalysisDetail").submit();
	}
        function paging(pageIndex) {
				//传递目标页页码
		$("#hidPageIndex").val(pageIndex);
		$("#frmAnalysis").submit();
	}
    </script>
</head>

<body>

{% include 'top.html' %}
  
  <div class="row-fluid">
   <div id="main" class="span8 blog-posts search-page image-preloader">

    <div class="row-fluid">

    {% include 'pathname.html' %}

     <!-- Search Results -->
     <h2>从 “<i>全部招聘</i>”中搜索职位信息</h2>
     <form name="form-search" method="post" action="#">
      <input type="text" name="search" value="Pyhton工程师" />
      <input type="submit" name="submit" value="搜索" />
     </form>
     <p class="search-info">Displaying results 1-7 of <i>142</i></p>

     <div class="sep-border margin-bottom20"></div> <!-- Separator -->


    <table class="table table-bordered">
      <thead>
       <tr class="over_th">
        <th>工作名称</th>
        <th>招聘公司</th>
        <th>工资</th>
        <th>招聘人数</th>
        <th>发布日期</th>
       </tr>
      </thead>

        <form id="frmAnalysisDetail" action="/index/analysis/send" method="post">
    <input type="hidden" name="hidDetail" id="hidDetail" value="" />
        {% for foo in Analysis %}

     <tbody>
      <tr class="over_th">
       <td ><a href="javascript: detail({{ foo.0 }});">{{ foo.1 }}</a></td>
       <td>{{ foo.9 }}</td>
          <td>{{ foo.8 }}</td>
          <td>{{ foo.10 }}</td>
          <td>{{ foo.4 }}</td>
      </tr>
     </tbody>

        {% endfor %}
    </form>
    </table>




   <form id="frmAnalysis" action="/index/analysis/send" method="get">
   <input type="hidden" name="hidPageIndex" id="hidPageIndex" value="{{ page_meg.now_page }}" />
     <nav class="nav-pagination" >
      <ul id="input_area">
          {% for foo in page_meg.page_count_list %}
              {% if foo < 11 %}
                  {% ifequal foo page_meg.now_page %}
                    <li class="active"><a href="javascript: paging({{ foo }});">{{ foo }}</a></li>
                  {% else %}
                    <li><a href="javascript: paging({{ foo }});">{{ foo }}</a></li>
                  {% endifequal %}

              {% endif %}
              {% if foo == page_meg.page_count %}
                      <li class="empty-space">....</li>
                  {% ifequal foo page_meg.now_page %}
                    <li class="active"><a href="javascript: paging({{ foo }});">{{ foo }}</a></li>
                  {% else %}
                   <li><a href="javascript: paging({{ foo }});">{{ foo }}</a></li>
                  {% endifequal %}
              {% endif %}
          {% endfor %}

      </ul>
      <p>第 <i style="color:rgb(241, 86, 32);">{{ page_meg.now_page }}</i> 页 | 共 <i style="color:rgb(241, 86, 32);">{{ page_meg.page_count }}</i> 页</p>
     </nav> <!-- End Nav-Pagination -->
   </form>




    </div> <!-- End Row-Fluid -->
   </div> <!-- End Main -->

   {% include 'right.html' %}

  </div> <!-- End Row-Fluid -->
 </div> <!-- End Container -->

{% include 'bottom.html' %}
</body>
</html>